package com.css.msgcenter.server;

import java.io.Serializable;

import net.sf.json.JSONObject;

public class MessageResult implements Serializable
{
	private int result;
	private JSONObject info;
	
	public MessageResult(int result, JSONObject info) {
		this.result = result;
		this.info = info;
	}
	public String toStringInfo() {
		if(info == null)
			return "";
		return info.toString();
	}
	public String toStringAll() {
		return "";
	}
	public int getResult() {
		return result;
	}
	public JSONObject getInfo() {
		return info;
	}
	
}

